package com.crazy.boot.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.crazy.boot.entity.Role;
import com.crazy.boot.mapper.RoleMapper;
import com.crazy.boot.service.RoleService;

@Service
public class RoleServiceImpl implements RoleService {
	
	@Autowired
	private RoleMapper roleMapper;

	@Override
	public List<Role> getRoleByUid(Integer uid) {
		
		return roleMapper.getRoleByUid(uid);
	}

}
